package com.iking.toolkit.system.model.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * dictionary_items（数据字典内容）
 *
 * @author user
 * @since 2022-10-09
 */
@Data
@Schema(description="dictionary_items（数据字典内容）")
public class DictionaryItems extends Model<DictionaryItems> {

    @Schema(description = "数据字典内容id")
    private String dictionaryItemsId;

    @Schema(description = "拼音码（参数）")
    private String itemPym;

    @Schema(description = "类型id")
    private String dictionaryTypeId;

    @Schema(description = "名称")
    private String itemName;

    @Schema(description = "值")
    private String itemValue;

    @Schema(description = "备注")
    private String description;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "是否删除")
    private Boolean isDelete;

    @Schema(description = "是否启用")
    private Boolean isEnable;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改时间")
    private Date updateTime;

    public DictionaryItems(String dictionaryItemsId, String itemPym, String dictionaryTypeId, String itemName, String itemValue, String description, Integer sort, Boolean isDelete, Boolean isEnable, Date createTime, Date updateTime) {
        this.dictionaryItemsId = dictionaryItemsId;
        this.itemPym = itemPym;
        this.dictionaryTypeId = dictionaryTypeId;
        this.itemName = itemName;
        this.itemValue = itemValue;
        this.description = description;
        this.sort = sort;
        this.isDelete = isDelete;
        this.isEnable = isEnable;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}
